package com.example.demo.business.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import com.example.demo.business.model.Player;

@FeignClient("member")
public interface MemberFeign {

    @GetMapping("/member/member/test")
    String test();

    @PostMapping("/member/player/save")
    void savePlayer(Player player);

}
